package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.ArrayList;
import java.util.List;

/**
 * 活动域名配置
 */
@Getter
@Setter
@Document(collection = "activity_domain_config")
public class ActivityDominConfig extends EntityBase {

    @Indexed
    private String activityId;
    private String activityName;
    /**
     * 域名列表
     */
    private List<String> domains = new ArrayList<>();
    /**
     * 目录列表
     */
    private List<String> catalogues = new ArrayList<>();
    /**
     * 短链接域名列表
     */
    private List<String> shortUrlDomains = new ArrayList<>();

}
